package win.timloong.android.carwiki.model;

import java.util.ArrayList;

import win.timloong.android.carwiki.bean.IndexItem;

/**
 * Created by tim on 16/7/13.
 */

public class IndexItemModel implements IIndexItemModel {
    private ArrayList<IndexItem> arrayList = new ArrayList<>();

    public IndexItemModel() {
    }

    @Override
    public void setData(ArrayList<IndexItem> list) {
        arrayList.addAll(list);
    }

    @Override
    public void addData(ArrayList<IndexItem> list) {
        arrayList.addAll(list);
    }
}
